package com.town.garden.entiy;

import com.town.garden.enums.AlertEventEnum;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Description redis队列中存放事件统一对象
 * @E-mail cwm3412638@163.com
 * @Author cwm
 * @Date 2022/5/13
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AlertEvent implements Serializable {
    /**
     * 通道名称
     */
    private String channelName;
    /**
     * 时间
     */
    private String time;

    /**
     * 事件类型
     */
    private AlertEventEnum alertEnum;

    /**
     * 当前事件发生的ipc详情
     */
    private ChannelInfo channelInfoData;
}
